﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">

<head>
    <!--
		<base href="https://idp.siam.sinopec.com/idp/" />
		-->
    <title>财务共享自助服务门户</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="用户, 统一身份, 账号, 认证" />
    <meta name="description" content="中国石化用户统一身份认证中心" />
    <link type="text/css" rel="stylesheet" href="themes/default/styles/login.css" />
    <link type="text/css" rel="stylesheet" href="themes/default/styles/loginygzz.css" />
    <script type="text/javascript" src="themes/default/js/jquery.min.js"></script>
    <script type="text/javascript" src="themes/default/js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="themes/default/js/jquery.collapse-0.9.2.min.js"></script>
    <script type="text/javascript" src="themes/default/js/jquery.poshytip.min.js"></script>
    <script type="text/javascript" src="themes/default/js/cmxforms.js"></script>
    <script type="text/javascript" src="js/messages_zh_CN.js"></script>
    <!-- <script type="text/javascript" src="themes/default/js/jquery.cookie.js"></script> -->
    <!-- <script type="text/javascript" src="js/form.js"></script> -->
    <script type="text/javascript">
    $(document).ready(function() {
        resizeWindowHeight(false);
    });
    $(window).resize(function() {
        resizeWindowHeight(true);
    });

    function resizeWindowHeight(resize) {
        var deffHeight = 0;
        var logonTopHeight = $("#logtop").height();
        var logtop02Height = $("#logtop02").height();
        var logtop04Height = $("#footer").height();
        var winHeight = $(window).height();
        var winWidth = $(window).width();
        deffHeight = winHeight - logonTopHeight - logtop02Height - logtop04Height;

        if (deffHeight > 472) {
            $("#logincenter01").height(deffHeight);
            $("loginimg01").height(deffHeight);
        }
    }
    </script>
</head>

<body>
    <!--
		<div class="loginhead">
			<div class="loginhead_logo"></div>
			<div class="loginhead_system">&nbsp;&nbsp;中国石化财务共享自助服务门户</div>
			<div class="loginhead_opterate">
				<div>
					<span> <a href="https://uid.sinopec.com/ss/view/register.html"> 申请统一账号
			</a>
			</span> &nbsp;

					</span>
				</div>
			</div>
		</div>
-->
    <div id="logtop">
        <div id="logcon" style="height:116px;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 10px;">
                <tr>
                    <td width="80%"><img src="themes/default/images/logo5b.gif" width="581" height="80" /></td>
                    <td width="10%">
                    </td>
                    <td width="10%" align="right"><img src="themes/default/images/rwm.png" width="90" height="90" /></td>
                </tr>
            </table>
            <div style="position: absolute;width:100%;">
                <span style="float:right;margin-top: -5px;margin-right: 205px;"> 
						<a href="https://uid.sinopec.com/ss/view/register.html"> 申请统一账号</a>
					</span>
            </div>
        </div>
    </div>
    <div id="logtop02">
    </div>
    <div class="logincenter01">
        <div class="loginimg01">
            <div style="margin: 100px 160px; float: left;">
                <!-- 
					<img src="themes/default/images/com.sinopec.learning.loginbg.png" style="position:absolute; top: 0px; left: 20px; width: 480px; height: 384px;" />
					<span style="position:absolute; top: 280px; left: 50px; color: #CCC">财务共享运维电话：010-59960114。</span>
								</div> -->
                <div class="box_login" style="right:50px;">
                    <div class="box_login01"></div>
                    <div id="main">
                        <div id="menu">
                            <ul id="tabs">
                                <li><a href="javascript:void(0)" class="current">用户名/口令</a></li>
                                <li>
                                    <a href="/idp/AuthnEngine?currentAuthentication=urn_oasis_names_tc_SAML_2.0_ac_classes_SIAMTLSClient&spAuthentication=urn_oasis_names_tc_SAML_2.0_ac_classes_TAMUsernamePassword">
												证书
											</a>
                                </li>
                                <script type="text/javascript">
                                if (checkSinopecUSBKEY()) {
                                    window.location.href = "/idp/AuthnEngine?currentAuthentication=urn_oasis_names_tc_SAML_2.0_ac_classes_TLSClient&spAuthentication=urn_oasis_names_tc_SAML_2.0_ac_classes_TAMUsernamePassword";
                                }
                                </script>
                            </ul>
                        </div>
                        <!-- end of #menu -->
                        <div class="aui-message error invisible" id="errorDivMsg">
                            <!-- shown with class="aui-message error" -->
                        </div>
                        <div class="aui-message info invisible" id="infoDivMsg">
                            <!-- shown with class="aui-message info" -->
                        </div>
                        <div id="acloginpod">
                            <div id="acloginpanel" class="loginpanel">
                                <form class="aui cmxform" method="post" id="authenForm" name="loginForm" id="">
                                    <fieldset>
                                        <legend><em>请输入您的统一账号和密码</em></legend>
                                        <div>
                                            <label for="ac_username" class="f14_gray">用户名</label>
                                            <input type="text" tabindex="1" name="j_username" id="j_username" class="textinput" />
                                        </div>
                                        <div>
                                            <label for="ac_password" class="f14_gray">密&nbsp;码</label>
                                            <input type="password" tabindex="2" name="j_password" id="j_password" class="textinput" />
                                        </div>
                                        <div>
                                            <label for="ac_password" class="f14_gray">验证码</label>
                                            <input type="text" tabindex="3" name="j_checkcode" id="j_checkcode" class="textinput2" />
                                            <div class="aclogin-yan">
                                                <img width="60px" height="30px" id="j_checkcodeImgCode" src="http://192.168.1.102/home/getyzm" title='' onclick="javascript:updateCheckCodeImg();" />
                                            </div>
                                            <span class="aclogin-yan2">
							                	<a href="javascript:updateCheckCodeImg();">
							                		看不清，换一张
							                	</a>
	                						</span>
                                        </div>
                                        <div class="aclogin-yan3"><span class="f12_gray2">请输入图片中的字符，区分大小写</span></div>
                                        <div><img src="themes/default/images/line.png" width="290" height="2" /></div>
                                        <div class="aclogin-action">
                                            <div class="fl-left">
                                                <div id="forgotbox">
                                                    <a tabindex="5" href="https://uid.sinopec.com/ss/view/lose/account.html" class="forgotpass">忘记账号?</a>
                                                    <a tabindex="6" href="https://uid.sinopec.com/ss/view/reset/password.html" class="forgotpass">忘记密码?</a>
                                                </div>
                                                <div><img src="themes/default/images/line.png" width="150" height="2" /></div>
                                            </div>
                                            <br/>
                                            <button type="button" tabindex="6" title='登&nbsp;&nbsp;&nbsp;&nbsp;录' class="acloginbttn" onclick="validate();">
                                            	<span class="f18_white">登&nbsp;&nbsp;&nbsp;&nbsp;录</span>
                                            </button>
                                            <div class="clearfix">&nbsp;</div>
                                        </div>
                                    </fieldset>
                                </form>
                            </div>
                            <!-- End of #acloginpanel -->
                        </div>
                        <!-- End of #acloginpod -->
                        <script>
                        setMsg('info', '请在下面输入用户名、密码和验证码');
                        </script>
                        <script type="text/javascript">
                        //更新图形验证码
                        window.yzmKey_random = 'key'+new Date().getTime()+Math.random()+Math.random();              
                        function updateCheckCodeImg() {
                            var imgCode = document.getElementById("j_checkcodeImgCode");
                            imgCode.src = "http://192.168.1.102/home/getyzm?dt=" + (new Date()).getTime()+"&yzmKey="+yzmKey_random;
                        }
                        </script>
                        <span class="f12_gray2" style="position: absolute; bottom: 20px;">请下载并执行<a href="/idp/SinopecCAImport.exe"><u>中国石化根证书导入工具</u></a>。</span>
                    </div>
                    <!-- end #main -->
                    <div class="box_login03"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <table width="100%">
            <tr>
                <td class="f12_gray" align="center">
                    Copyright © 2014 中国石化 版权所有. 系统版本:1.0.1-SNAPSHOT (构建序号:437 )
                </td>
            </tr>
            <tr>
                <td class="f12_gray" align="center">技术支持电话： 4009196000&nbsp;&nbsp;技术支持邮箱：itsupport@sinopec.com</td>
            </tr>
        </table>
    </div>
</body>

</html>
